package com.alex.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Board entity. @author MyEclipse Persistence Tools
 */

public class Board implements java.io.Serializable {

	// Fields

	private Integer boardid;
	private String boardname;
	private Integer parentid;
	private Set<Tip> tips = new HashSet<Tip>();
	// Constructors

	/** default constructor */
	public Board() {
	}

	/** full constructor */
	public Board(String boardname, Integer parentid) {
		this.boardname = boardname;
		this.parentid = parentid;
	}
	
	// Property accessors

	public Integer getBoardid() {
		return this.boardid;
	}

	public Set<Tip> getTips() {
		return tips;
	}

	public void setTips(Set<Tip> tips) {
		this.tips = tips;
	}

	public void setBoardid(Integer boardid) {
		this.boardid = boardid;
	}

	public String getBoardname() {
		return this.boardname;
	}

	public void setBoardname(String boardname) {
		this.boardname = boardname;
	}

	public Integer getParentid() {
		return this.parentid;
	}

	public void setParentid(Integer parentid) {
		this.parentid = parentid;
	}

}